group

abstract fun group(blocks: List<DesignBlock>): DesignBlock

Group blocks together.

The blocks keep their times on the timeline. The group spans from the earliest start to the latest end of the blocks, and their time offsets become relative to the group.

Return

the block id of the created group.

Parameters

blocks

a non-empty array of block ids.